package com.maven.accountmanager.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 其它类型帐号
 * @author Administrator
 *
 */
@Entity
@Table(name="t_finance_other_account")
public class OtherAccount {
	/**
	 * 主键
	 */
	@Id
	@Column(name="id")
	@GenericGenerator(name="idGenerator",strategy="uuid")
	@GeneratedValue(generator="idGenerator")
	private String id;
	/**
	 * 用户名
	 */
	@Column(name="username")
	private String username;
	/**
	 * 密码
	 */
	@Column(name="password")
	private String password;
	/**
	 * 帐号类型
	 */
	@Column(name="account_type")
	private String accountType;
	/**
	 * 描述
	 */
	@Column(name="description")
	private String description;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getAccountType() {
		return accountType;
	}
	public void setAccountType(String accountType) {
		this.accountType = accountType;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
}
